package main

import (
	"fmt"
	"go_tutorial/rpc_test/new_helloworld/client_proxy"
)

func main() {
	client := client_proxy.NewHelloServiceClient("tcp", "localhost:1234")
	var reply string
	err := client.Hello("hcj", &reply)
	if err != nil {
		fmt.Println(err.Error())
		panic("调用失败")

	}
	fmt.Println(reply)
}
